xenstore: let write_node() and some callers return errno
authorJuergen Gross <jgross@suse.com>
Tue, 28 Mar 2017 16:26:12 +0000 (18:26 +0200)
committerWei Liu <wei.liu2@citrix.com>
Mon, 3 Apr 2017 13:04:10 +0000 (14:04 +0100)
commit6f237ac0aedadd699a9bd7d6b9f0b844767c3494
tree7eb779552aa9e366ab1f7281d4130623f1060801
parent41630eb1b615158af42f4468236457fd3f8a6819
xenstore: let write_node() and some callers return errno

Instead of setting errno and returning true or false return the error
value directly.

In order to ensure all call sites have been changed according to the
modification rename the functions to xs_*.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstore/xenstored_core.c